package com.spring.web.adminmanage.entities;

/**
 * 操作结果进行数据封装并返回给前端
 * @author xiankejin
 * @date 2017-07-05
 */
public class BaseVo {
	/**
	 * 状态码(1.成功 0.失败)
	 */
	private String code;
	/**
	 * 信息
	 */
	private String msg;
	
	public BaseVo(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	/**
	 * 状态码(1.成功 0.失败)
	 * @return
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 状态码(1.成功 0.失败)
	 * @param code
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 信息
	 * @return
	 */
	public String getMsg() {
		return msg;
	}
	/**
	 * 信息
	 * @param msg
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
}
